﻿<%@ Page Language="C#" MasterPageFile="~/SanPham/HomePage.master" AutoEventWireup="true" CodeFile="quanlychitietdonhang.aspx.cs" Inherits="SanPham_quanlychitietdonhang" Title="Chi tiết đơn hàng" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div style="margin-top:-32px;">
            <div style="color:Blue">Chi tiết đơn hàng</div></div>
    <div class="box-white" >
        <span><font>Đơn hàng</font></span>
        <center>
        <table width="80%" cellspacing="0" cellpadding="0" border="0" style="background-color:InactiveCaption">
        <tr>
                <td style="width:20%;padding-left:15px;background-color:InactiveCaption">
                Mã đơn hàng:
                </td>
                 <td style="padding-left:10px">
                     <asp:Literal ID="lit_mahoadon" runat="server"></asp:Literal>
                </td>
            </tr>
            <tr>
                <td style="width:20%;padding-left:15px;background-color:InactiveCaption">
                Khách hàng:
                </td>
                 <td style="padding-left:10px">
                     <asp:Literal ID="lit_khachhang" runat="server"></asp:Literal>
                </td>
            </tr>
            <tr>
                 <td style="width:20%;padding-left:15px;background-color:InactiveCaption">
                Ngày đặt:
                </td>
                 <td style="padding-left:10px">
                     <asp:Literal ID="lit_ngaydat" runat="server"></asp:Literal>
                 </td>
            </tr>
            <tr>
                 <td style="width:20%;padding-left:15px;background-color:InactiveCaption">
                Ngày giao:
                </td>
                 <td style="padding-left:10px">
                     <asp:Literal ID="lit_ngaygiao" runat="server"></asp:Literal>
                 </td>
            </tr>
            <tr>
                 <td style="width:20%;padding-left:15px;background-color:InactiveCaption">
                Trị giá:
                </td>
                 <td style="padding-left:10px">
                     <asp:Literal ID="lit_trigia" runat="server"></asp:Literal>
                 </td>
            </tr>
            <tr>
                 <td style="width:20%;padding-left:15px;background-color:InactiveCaption">
                Tình trạng giao hàng:
                </td>
                 <td style="padding-left:10px">
                     <asp:Literal ID="lit_ttgh" runat="server"></asp:Literal>
                </td>
            </tr>
            <tr>
                 <td style="width:20%;padding-left:15px;background-color:InactiveCaption">
                Địa chỉ nhận hàng:
                </td>
                 <td style="padding-left:10px">
                     <asp:Literal ID="lit_diachi" runat="server"></asp:Literal>
                     
                </td>
            </tr>
             <tr>
                 <td style="width:20%;padding-left:15px;background-color:InactiveCaption">
                Phương thức thanh toán:
                </td>
                 <td style="padding-left:10px">
                     <asp:Literal ID="lit_pttt" runat="server"></asp:Literal>
                </td>
            </tr>
            <tr>
                 <td style="width:20%;padding-left:15px;background-color:InactiveCaption">
                Đã thanh toán:
                </td>
                 <td style="padding-left:10px">
                     <asp:CheckBox ID="chb_dathanhtoan" runat="server" Enabled="false"/>
                     <asp:HyperLink ID="hyp_thanhtoan" runat="server" Text="Bạn chưa thanh toán, thanh toán ngay ?"></asp:HyperLink>
                </td>
            </tr> 
        </table>
        </center>
<div style="padding:12px 12px 12px 12px ;">
    <div>       
        <div>
            Chi tiết đơn hàng
        </div>
        <div style="width:100%;">
        </div>
        <div>
        <asp:Repeater ID="Repeater1" runat="server" onitemdatabound="Repeater1_ItemDataBound">
            <HeaderTemplate>
                <table cellspacing="1" cellpadding="3" width="100%" bgcolor="#cccccc" border="0">
                <thead>
                    <tr style="FONT-WEIGHT: bold;FONT-FAMILY: Arial, Helvetica, sans-serif;BACKGROUND-COLOR: #eeeeee;text-align:left;">
                        <th>Tên sản phẩm</th>                        
                        <th>Số lượng</th>
                        <th>Đơn giá</th>
                        <th>Thành tiền</th>
                    </tr>
                </thead>
                <tbody>
            </HeaderTemplate>
            <ItemTemplate>
              <tr>
                <td style="border:solid 1px black;"><asp:Literal ID="lit_tensp" runat="server" /></td>
                <td align="center" style="border:solid 1px black;"><asp:Literal ID="lit_soluong" runat="server" /></td>
                <td style="border:solid 1px black;"><asp:Literal ID="lit_dongia" runat="server" /></td>                                
                <td style="border:solid 1px black;"><asp:Literal ID="lit_thanhtien" runat="server" /></td>
              </tr>
            </ItemTemplate>
            <FooterTemplate>
                </tbody>
            </table>   
            </FooterTemplate>
        </asp:Repeater>  
     </div>
       </div>
</div>
</div>
</asp:Content>

